<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
//echo 'checkcode'.'<br>'.'<pre>';
//print_r($userdata);
//var_dump($array);
$result = array();
if( isset($success_link) ) {
    $result['success'] = "true";
    $result['redirect'] = $success_link;
}
else if( isset($overplay) ) {
    $result['success'] = "false";
    $result['err_msg'] = <<<EOF
<div class="dangky9" id="dangky9">
    <div class="frm">
    </div>
</div>  
EOF;
}
else {
    $result['success'] = "false";
    $result['err_msg'] = <<<EOF
<div class="dangky11" id="dangky11">
    <div class="frm">
        <div style="padding:190px 0 0 215px;"><a href="javascript:;" onclick="retype()"><img src="public/img/bt-nhaplai.png"/></a></div>
    </div>
</div>   
EOF;
}
echo json_encode($result);
?>
